/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package PoJo;

/**
 *
 * @author Kute_Ants
 */
public class ChiTietKhuyenMaiPOJO 
{
    private String MaChuongTrinh;
    private String MaSanPham;
    private int ChietKhau;
    private String Khac;
    
    //khoi tao

    public ChiTietKhuyenMaiPOJO(String MaChuongTrinh, String MaSanPham, int ChietKhau, String Khac)
    {
        this.MaChuongTrinh = MaChuongTrinh;
        this.MaSanPham = MaSanPham;
        this.ChietKhau = ChietKhau;
        this.Khac = Khac;
    }
    
    public ChiTietKhuyenMaiPOJO()
    {
        this.MaChuongTrinh = null;
        this.MaSanPham = null;
        this.ChietKhau = 0;
        this.Khac = null;
    }
    
    public ChiTietKhuyenMaiPOJO(ChiTietKhuyenMaiPOJO CTKM)
    {
        this.MaChuongTrinh = CTKM.MaChuongTrinh;
        this.MaSanPham = CTKM.MaSanPham;
        this.ChietKhau = CTKM.ChietKhau;
        this.Khac = CTKM.Khac;
    }
    
    // Phuong thuc get/set

    public int getChietKhau() {
        return ChietKhau;
    }

    public void setChietKhau(int ChietKhau) {
        this.ChietKhau = ChietKhau;
    }

    public String getKhac() {
        return Khac;
    }

    public void setKhac(String Khac) {
        this.Khac = Khac;
    }

    public String getMaChuongTrinh() {
        return MaChuongTrinh;
    }

    public void setMaChuongTrinh(String MaChuongTrinh) {
        this.MaChuongTrinh = MaChuongTrinh;
    }

    public String getMaSanPham() {
        return MaSanPham;
    }

    public void setMaSanPham(String MaSanPham) {
        this.MaSanPham = MaSanPham;
    }
    
    // phuong thuc String.toString
    
    
    
    
    
}
